package cn.edu.sdjzu.xg23.kcsj01_backend.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ApprovalState {
    private Long id;
    private int code;       // 状态码：1=通过，2=驳回，0=待审批
    private String description; // 描述信息

    // 预定义常量
    public static final int CODE_APPROVED = 1;
    public static final int CODE_REJECTED = 2;
    public static final int CODE_PENDING = 0;

}
